<?php
require_once("shop_product_write.php");
require_once("errored_writer.php");
require_once("../demo2/shop_product.php");

$obj = new ErroredWriter();
$obj->addProduct("My Book","Adair","Z",8.88,100);
$obj->addProduct("My CD","Adair","Z",8.88,100);
$obj->write();